#include "Student.h"


Student::Student(string name):
m_sName(name)
{
}


Student::~Student(void)
{
}

void Student::SetMoney(int nMoney)
{
	this->m_nMoney = nMoney;
}

int Student::Pay(int nMoney)
{
	this->m_nMoney -= nMoney;
	return this->m_nMoney;
}

const string& Student::GetName() const
{
	return this->m_sName;
}